﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TableForm.aspx.cs" Inherits="Cms.Web.CmsSystem.SysAdmin.FormSetting.TableForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>绘制表单</title>
    <link href="/App_Themes/Default/easyui/easyui.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="/Scripts/easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/core.js" type="text/javascript"></script>
    <style type="text/css">
        a
        {
            position: relative;
        }
    </style>
    <script type="text/javascript">
        var ctrl = {
            style: {
                position: "relative", left: "0px", top: "0px", width: "0px", height: "0px"
            }
        }
        function Label() {
            this.style = ctrl.style;
            this.type = "Label";
        }
        $(function () {
            var w = GetInnerWidth();
            var h = GetInnerHeight();
            $("body").css({ width: w + "px", height: h + "px" }).layout({ fit: true });
            $("#tbPropertygrid").propertygrid({
                showGroup: true, fit: true, border: false
            });
        });
        //class="easyui-layout" fit="true"
    </script>
</head>
<body>
    <div region='north' style="height: 40px">
        <form id="form1" runat="server">
        <button id="btnNew">
            新建</button>
        <button id="btnOpen">
            打开</button>
        <button id="btnSave">
            保存</button>
        </form>
    </div>
    <div region='west' split="true" title="控件列表" style="width: 200px;">
        <ul>
            <li>标签</li>
            <li>文本输入框</li>
            <li>按钮</li>
            <li>下拉</li>
        </ul>
    </div>
    <div region='east' split="true" title="属性" style="width: 200px;">
        <div class="easyui-panel" data-options="fit:true,border:false">
            <table id="tbPropertygrid">
            </table>
        </div>
    </div>
    <div region='center'>
    </div>
</body>
</html>
